package com.xh.bussiness.system.dao;

import com.xh.bussiness.system.bean.dto.DictionaryRelBean;
import com.xh.bussiness.system.bean.request.DictionaryRelRequest;
import com.xh.bussiness.system.model.DictionaryRel;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xh.core.bean.XhPage;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 数据字典数据关系表 Mapper 接口
 * </p>
 *
 * @author daiwei
 * @since 2019-02-23
 */
public interface DictionaryRelMapper extends BaseMapper<DictionaryRel> {

    List<DictionaryRelBean> queryList(@Param("bean") DictionaryRelRequest relRequest);

    XhPage<DictionaryRelBean> queryList(XhPage page,@Param("bean") DictionaryRelRequest relRequest);
}
